<h1><?php __('Register New User');?></h1>
<div class="users form">
<?php echo $form->create('User', array('action'=>'register'));?>
	<fieldset>
 		<legend><?php __('Sign in details');?></legend>
	<?php
		echo $form->input('username');
		echo $form->input('email');
	?>

		<hr />

	<?php
		echo $form->input('password', array('value'=>''));
		echo $form->input('confirm_password', array('type'=>'password', 'value'=>''));
	?>

		<hr />

	<?php
		echo $form->input('secret_question_id');
		echo $form->input('secret_question_answer');
	?>
	</fieldset>

	<fieldset>
 		<legend><?php __('Contact information');?></legend>
	<?php
		echo $form->input('first_name');
		echo $form->input('last_name');
	?>

		<hr />

	<?php
		echo $form->input('primary_phone');
		echo $form->input('secondary_phone');
	?>

		<hr />

	<?php
		echo $form->input('street_address_1');
		echo $form->input('street_address_2');
		echo $form->input('city');
		echo $form->input('province', array('value'=>'Newfoundland & Labrador', 'disabled'=>true));
		echo $form->input('postal_code');
		echo $form->input('country', array('value'=>'Canada', 'disabled'=>true));
	?>
	</fieldset>

	<fieldset>
 		<legend><?php __('Terms of use');?></legend>
 		<textarea>
Some crap about terms of use.
 		</textarea>
 	<?php
 		// TODO: check for agreement in controller
 		echo $form->input('terms_of_use', array('type'=>'checkbox', 'label'=>__('I have read and accept the terms of use', true)));
 	?>
 	</fieldset>
<?php echo $form->end('Register');?>
</div>
